﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 职员信息
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2017.12.01 
    /// </summary>
    [Table("EXT_EMPLOYEE")]
    public class EmployeeEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        [Column("F_ENCODE")]
        public string EnCode { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        [Column("F_FULLNAME")]
        public string FullName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [Column("F_GENDER")]
        public string Gender { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        [Column("F_DEPARTMENTNAME")]
        public string DepartmentName { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        [Column("F_POSITIONNAME")]
        public string PositionName { get; set; }
        /// <summary>
        /// 用工性质
        /// </summary>
        [Column("F_WORKINGNATURE")]
        public string WorkingNature { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        [Column("F_IDNUMBER")]
        public string IDNumber { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [Column("F_TELEPHONE")]
        public string Telephone { get; set; }
        /// <summary>
        /// 参加工作
        /// </summary>
        [Column("F_ATTENDWORKTIME")]
        public DateTime? AttendWorkTime { get; set; }
        /// <summary>
        /// 出生年月
        /// </summary>
        [Column("F_BIRTHDAY")]
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 最高学历
        /// </summary>
        [Column("F_EDUCATION")]
        public string Education { get; set; }
        /// <summary>
        /// 所学专业
        /// </summary>
        [Column("F_MAJOR")]
        public string Major { get; set; }
        /// <summary>
        /// 毕业院校
        /// </summary>
        [Column("F_GRADUATIONACADEMY")]
        public string GraduationAcademy { get; set; }
        /// <summary>
        /// 毕业时间
        /// </summary>
        [Column("F_GRADUATIONTIME")]
        public DateTime? GraduationTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        [Column("F_SORTCODE")]
        public long? SortCode { get; set; }
        /// <summary>
        /// 有效标志
        /// </summary>
        [Column("F_ENABLEDMARK")]
        public int? EnabledMark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("F_CREATORTIME")]
        public DateTime? CreatorTime { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        [Column("F_CREATORUSERID")]
        public string CreatorUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        [Column("F_LASTMODIFYTIME")]
        public DateTime? LastModifyTime { get; set; }
        /// <summary>
        /// 修改用户
        /// </summary>
        [Column("F_LASTMODIFYUSERID")]
        public string LastModifyUserId { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        [Column("F_DELETEMARK")]
        public int? DeleteMark { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("F_DELETETIME")]
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 删除用户
        /// </summary>
        [Column("F_DELETEUSERID")]
        public string DeleteUserId { get; set; }
    }
}
